﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Ruleweaver.Rules.CheckMethods;

namespace Ruleweaver.Annotation
{
	public sealed class CheckHasAnyAttribute : LinqCheckAttribute
	{
		public CheckHasAnyAttribute()
		{}

		public CheckHasAnyAttribute(LinqResolution resolution) : base(resolution)
		{}

		protected override ICheckMethod GetCheckMethod()
		{
			return new HasAnyMethod(Resolution);
		}
	}
}